import React,{Component} from 'react';
import {
    View,
    Text,
    TouchableOpacity,
    Alert
} from 'react-native'
import Home3 from './home3'
export default class home1 extends Component{
    constructor(props) {
      super(props);
      this.state = {};
    }



    linkJump(){
        navigation.navigate('Home3')
    }


    render(){
        return(
            <View style={{flex:1,alignItems:'center',justifyContent:'center'}}>
                <TouchableOpacity onPress={()=>this.linkJump()}>
                    <Text>我是Tab 1</Text>
                </TouchableOpacity>
            </View>
        )
    }
}